package com.biz.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.common.page.PageParams;
import com.common.pojo.Blog;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface BlogMapper extends BaseMapper<Blog> {

    public List<Blog> selectBlog(@Param("blog")Blog query, @Param("pageParams")PageParams params);

    public Long selectBlogCount(Blog query);
}
